package com.github.rpc4j.common;

import java.io.Serializable;

public class ServiceResponse implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2393217152789474974L;
	private Object result;
	
	private Throwable throwable;

	private int requestChannelId;

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public int getRequestChannelId() {
		return requestChannelId;
	}

	public void setRequestChannelId(int requestChannelId) {
		this.requestChannelId = requestChannelId;
	}

	public Throwable getThrowable() {
		return throwable;
	}

	public void setThrowable(Throwable throwable) {
		this.throwable = throwable;
	}
	
	
}
